home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
tex
/
td187src.lzh
/
MAGICTYP.D
< prev
next >
Wrap
Text File
|
1991-06-08
|
14KB
|
303 lines
(*######################################################################
MAGIC Modula's All purpose GEM Interface Cadre
¯ ¯ ¯ ¯ ¯
######################################################################
Typdeklarationen nach Profibuch, Anhang C
######################################################################
V2.0 26.09.90 Peter Hellinger Anpassung an neues MagicSys
V1.0 (C) by Peter Hellinger
####################################################################*)
DEFINITION MODULE MagicTypes;
FROM SYSTEM IMPORT ADDRESS;
FROM MagicSys IMPORT Nil, Null,
Bit0, Bit1, Bit2, Bit3, Bit4, Bit5, Bit6, Bit7,
Bit8, Bit9, Bit10, Bit11, Bit12, Bit13, Bit14, Bit15,
LOC, Byte, ByteSet, sWORD, sINTEGER, sCARDINAL, sBITSET,
lWORD, lINTEGER, lCARDINAL, lBITSET;
TYPE BITBLK = RECORD
bWd: sINTEGER;
bHt: sINTEGER;
planeCt: sINTEGER;
fgCol: sINTEGER;
bgCol: sINTEGER;
opTab: ARRAY [0..3] OF Byte;
sXmin: sINTEGER;
sYmin: sINTEGER;
sForm: ADDRESS;
sNxwd: sINTEGER;
sNxln: sINTEGER;
sNxpl: sINTEGER;
dXmin: sINTEGER;
dYmin: sINTEGER;
dForm: ADDRESS;
dNxwd: sINTEGER;
dNxln: sINTEGER;
dNxpl: sINTEGER;
pAddr: ADDRESS;
pNxln: sINTEGER;
pNxpl: sINTEGER;
pMask: sINTEGER;
filler: ARRAY [0..23] OF Byte;
END;
TYPE PtrFONTHDR = POINTER TO FONTHDR;
FONTHDR = RECORD
fontId: sINTEGER;
point: sINTEGER;
name: ARRAY [0..31] OF CHAR;
firstAde: sCARDINAL;
lastAde: sCARDINAL;
top: sCARDINAL;
ascent: sCARDINAL;
half: sCARDINAL;
descent: sCARDINAL;
bottom: sCARDINAL;
maxCharwidth: sCARDINAL;
maxCellwidth: sCARDINAL;
leftOffset: sCARDINAL;
rightOffset: sCARDINAL;
thicken: sCARDINAL;
ulSize: sCARDINAL;
lighten: sCARDINAL;
skew: sCARDINAL;
flags: sBITSET;
horTable: POINTER TO ARRAY [0..255] OF sCARDINAL;
offTable: POINTER TO ARRAY [0..255] OF sCARDINAL;
datTable: ADDRESS;
formWidth: sCARDINAL;
formHeight: sCARDINAL;
nextFont: PtrFONTHDR;
END;
TYPE IMGHEADER = RECORD
imVersion: sINTEGER;
imHeadlength: sINTEGER;
imNplanes: sINTEGER;
imPatlen: sINTEGER;
imPixwidth: sINTEGER;
imPixheight: sINTEGER;
imScanwidth: sINTEGER;
imNlines: sINTEGER;
END;
TYPE PtrLINEA = POINTER TO LINEA;
LINEA = RECORD
PLANES: sINTEGER;
WIDTH: sINTEGER;
CONTRL: POINTER TO ARRAY [0.. 11] OF sINTEGER;
INTIN: POINTER TO ARRAY [0..255] OF sINTEGER;
PTSIN: POINTER TO ARRAY [0..255] OF sINTEGER;
INTOUT: POINTER TO ARRAY [0..255] OF sINTEGER;
PTSOUT: POINTER TO ARRAY [0..255] OF sINTEGER;
COLBIT0: sINTEGER;
COLBIT1: sINTEGER;
COLBIT2: sINTEGER;
COLBIT3: sINTEGER;
LSTLIN: sINTEGER;
LNMASK: sBITSET;
WMODE: sINTEGER;
X1: sINTEGER;
Y1: sINTEGER;
X2: sINTEGER;
Y2: sINTEGER;
PATPTR: ADDRESS;
PATMSK: sBITSET;
MFILL: sINTEGER;
CLIP: sINTEGER;
XMINCL: sINTEGER;
YMINCL: sINTEGER;
XMAXCL: sINTEGER;
YMAXCL: sINTEGER;
XDDA: sINTEGER;
DDAINC: sINTEGER;
SCALDIR: sINTEGER;
MONO: sINTEGER;
SOURCEX: sINTEGER;
SOURCEY: sINTEGER;
DESTX: sINTEGER;
DESTY: sINTEGER;
DELX: sINTEGER;
DELY: sINTEGER;
FBASE: PtrFONTHDR;
FWIDTH: sINTEGER;
STYLE: sBITSET;
LITEMASK: sBITSET;
SKEWMASK: sBITSET;
WEIGHT: sINTEGER;
ROFF: sINTEGER;
LOFF: sINTEGER;
SCALE: sINTEGER;
CHUP: sINTEGER;
TEXTFG: sINTEGER;
SCRTCHP: ADDRESS;
SCRTP2: sINTEGER;
TEXTBG: sINTEGER;
COPYTRAN: sINTEGER;
SEEDABORT: ADDRESS;
END;
TYPE PtrLINEAFonts = POINTER TO ARRAY [0..2] OF PtrFONTHDR;
TYPE METAHDR = RECORD
mfHeader: sINTEGER;
mfHlenght: sINTEGER;
mfVersion: sINTEGER;
mfNdcrcfl: sINTEGER;
mfExtents: ARRAY [0..3] OF sINTEGER;
mfPagesz: ARRAY [0..1] OF sINTEGER;
mfCoords: ARRAY [0..3] OF sINTEGER;
mfImgflag: sINTEGER;
mfResvd: ARRAY [0..8] OF sINTEGER;
END;
TYPE MFORM = RECORD
mfXhot: sINTEGER;
mfYhot: sINTEGER;
mfNplanes: sINTEGER;
mfFg: sINTEGER;
mfBg: sINTEGER;
mfMask: ARRAY [0..15] OF sCARDINA